package com.strategy.case2;

/**
 * @author cyf
 * @description
 * @create 2018-09-20 16:40
 **/
public class CalculateManager {

    private Calculate calculate;

    public CalculateManager(Calculate calculate) {
        this.calculate = calculate;
    }

    public Object execute(Integer one, Integer two) {
        return calculate.doOperation(one, two);
    }

}
